home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: MegaDisc / MegaDisc 45 (1996-03)(MegaDisc Digital Publishing)(AU)(Disk 1 of 2)[WB].zip / MegaDisc 45 (1996-03)(MegaDisc Digital Publishing)(AU)(Disk 1 of 2)[WB].adf / Internet / NetLink / NetLink
Text File  |  1996-01-21  |  16KB  |  353 lines

  1.  
  2.                                       
  3.         Linking my home to the world     by John Collett
  4.                                       
  5.  
  6.     Okay. I give up. I had been waiting for 4 megs of fast ram to be
  7.     installed in the slot underneath my Amiga 1200 before writing this
  8.     article, but I still haven't obtained that extra ram. (The trials and
  9.     tribulations of that quest could fill an article of their own.)  
  10.  
  11.     But I had always intended this contribution to be a partner to one by
  12.     Peter Bagnato on how he uses 'Mlink' to access the Internet, and
  13.     Peter's article has already been written and posted. 
  14.  
  15.     So I'm changing the plan. This article will decribe how I link my
  16.     home to the world, and some of the things I can do even without the
  17.     extra fast ram.  At some stage in the future, in another
  18.     contribution, I shall describe the difference that fast ram makes.
  19.  
  20.                              ------------
  21.  
  22.      Setting up the link 
  23.  
  24.     This has been a steep learning curve - a polite way of saying that
  25.     at times I was completely bewildered by it all.  I have received much
  26.     help from Peter Bagnato, Derek Wong, Rachels Stubbs, Trevor Simmonds,
  27.     and many contributors to InterNet. My thanks to them all.
  28.  
  29.      The Sites 
  30.     
  31.     It will be convenient later on to use the brief labels 'A', 'B', and
  32.     'C' for quick reference to these sites.
  33.  
  34.            A                   B                        C          
  35.                                                 +---------------+   
  36.        +--------+    +---------------------+    |Peter Bagnato, |   
  37.        |An Amiga|<-->|University of Waikato|<-->|aminet, ftp,   |   
  38.        |at home |    |      Hamilton       |    |email, gopher, |   
  39.        +--------+    |    New Zealand      |    |AMosiac,       |   
  40.                      +---------------------+    |The World, etc.|   
  41.                                                 +---------------+  
  42.  
  43.     I have been happily computing at sites 'A' and  'B' for years, on an
  44.     Amiga and a VAX respectively. 'A' and 'B' were not linked in any way,
  45.     but from site 'B', I became a regular user of some of the links
  46.     mentioned in 'C'.  Just recently, having retired from work at the
  47.     University, I have been engaged in setting up a link from 'A' to 'B',
  48.     eventually intending to use 'B' merely as a stepping stone to 'C'.
  49.  
  50.      The Hardware 
  51.  
  52.     I now have :  
  53.  
  54.      1   An Amiga 1200 which I picked up second hand, hardly
  55.     used when I got it. Its hard disk has only 40 megs, but I'll manage.
  56.     It has no fast ram (nothing in the slot underneath), and without fast
  57.     ram I will never be able to run AMosiac properly - one of my main
  58.     ambitions.  So I am trying to purchase a CPU extension with 4 megs of
  59.     fast ram, but have not yet succeeded.
  60.  
  61.      2  An Ellcom Modem, capable of handling 28800 bps, plugged
  62.     into a telephone socket in the wall behind my desk.
  63.  
  64.      The Software 
  65.  
  66.     There are thousands of programs out there on the Internet (yes,
  67.     really thousands. Aminet had 22000 entries the last time I made an
  68.     estimate of its size, and it is being added to daily). I went looking
  69.     for whatever was needed for running an efficient and flexible
  70.     interface.  Some of the titles I obtained were recommended or given
  71.     to me by friends, others found by browsing.  I have been trying them
  72.     out, and to reduce the chaos to some sort of order I put them into
  73.     loose categories such as :
  74.  
  75.      +--------------+------------+-------------------+---------------+
  76.      | Importance   | Essential  | A useful extra    | Irrelevant    |
  77.      | Quality      | Excellent  | Adequate          | Disappointing |
  78.      | Difficulty   | Beyond me  | I can just manage | Dead easy     |
  79.      +--------------+------------+-------------------+---------------+
  80.  
  81.      The basic setup 
  82.  
  83.     This took me some time to grasp, and I am still struggling with the
  84.     terminology, but there seem to be three major stages to be arranged.
  85.  
  86.      1   First you need what is loosely called 'a terminal
  87.     program' which dials up a destination and, if successful, establishes
  88.     a link.  My immediate destination is always site 'B'.  Programs I
  89.     have used for this include 'Term' (a HUGE Public Domain program)
  90.     and 'dialup'.  For some tasks, this is enough, but ....
  91.  
  92.      2   For more interesting activities than just sending and
  93.     receiving email, you need a TCP/IP (Transmission Control
  94.     Protocol/Internet Protocol) program for dealing with the traffic on
  95.     the line which has been set up.  There are other methods ('mlink' for
  96.     example), but the standard program for the Amiga appears to be AmiTCP
  97.     - available free in a fully-functional 'Demo' version, or in a
  98.     commercial version with fuller docs and extra features.
  99.  
  100.      3  Finally, you need whatever programs you wish to use in
  101.     the linked situation - AMosaic, ftp, gopher, archie, and so on,
  102.     depending on needs and personal preferences.
  103.  
  104.  
  105.      My routes 
  106.  
  107.     For the time being (and this is quite likely to change as my
  108.     understanding increases and when certain other anticipated programs
  109.     are included in my set), I use either of the following two routes to
  110.     set myself up for network activity :
  111.  
  112.      Route #1 
  113.  
  114.     If I want to engage in one of my regular, sometimes daily, mail
  115.     exchanges with Peter Bagnato or, less frequently, with anyone else, I
  116.     aim for the email services of site 'B' (though I intend to use Pine
  117.     instead when I have fast ram).
  118.  
  119.     A complete sequence goes like this :
  120.  
  121.     Run a terminal program (I have placed mine in my ToolManager menu.
  122.     It takes just a click.)
  123.  
  124.     It opens its screen, with a vast range of menu options, some of
  125.     which I understand and use. The others are still waiting to be
  126.     explored. The first time the program is used, you select menu options
  127.     to store crucial information about phone numbers, host name, baud
  128.     rate, etc., and save those settings in a '.prefs' file.  Then, when
  129.     you restart, the program has all the info it requires. 
  130.  
  131.     This 'dummy first run' idea is excellent, since it saves you the
  132.     hassle of having to build specific configuration files by hand. I
  133.     wish certain other programs had adopted the procedure.
  134.     
  135.     The first attention-grabbing message is sent. You see it echoed on
  136.     the screen : AT&D0.
  137.     My understanding is vague at this point because my User's Guide is
  138.     Taiwanese, but I read the 'AT' as the standard 'ATTENTION' call,
  139.     the '&D' as 'Data terminal ready' and the '0' as 'Don't hang up'.
  140.     
  141.     The modem normally makes un unpleasant ear-piercing noise while the
  142.     dial-up is being made. I have arranged for it to work quietly by
  143.     including 'ATM0' in the initialization string, and that message
  144.     also appears on my screen.  So my full initialization string is
  145.     'AT&D0\n ATM0\r', where the '\n' is a newline signal and the '\r'
  146.     marks the end of the string.
  147.  
  148.     Menu selection : run logon  (Just a menu selection 'run' and a click on
  149.     the 'logon' entry in a file selector.)
  150.  
  151.     From now on it's all automatic. The phone number is dialled.  If the
  152.     'BUSY' message (meaning I can't get on) does not appear, I just have
  153.     to sit back and wait a few seconds.   On the screen I see
  154.     'ATDT8384059' and the next thing I know is that I'm on the VAX!
  155.  
  156.       Welcome to the University Of Waikato ... etc.
  157.  
  158.     My username and password are automatically sent to verify access,
  159.     then a message to connect me to a Terminal Server, and my username
  160.     and password again, to verify access at that level :
  161.  
  162.       Welcome to the VAX/VMS Cluster VIRTUE
  163.  
  164.     I'm on, and in.  I can use the VAX for any of the purposes for which
  165.     I have been a user for many years, in work at the university. For
  166.     example, if I have new mail, I can read it, or if I want to send
  167.     mail, I can send it. When I have finished, I enter 'log'.
  168.  
  169.       JCOLLETT     logged out at <date>
  170.       [Connection to WAIKATO.AC.NZ closed by foreign host]
  171.  
  172.     I 'exit' from the terminal server, and 'quit' the terminal program.
  173.  
  174.      Route #2 
  175.  
  176.     This route is more complicated, but is likely largely to replace the
  177.     first when fast ram is installed and certain further explorations
  178.     are completed. The terminal program I use in this case is 'dialup',
  179.     followed by AmiTCP.  By this route, I do not get on to the VAX at the
  180.     university as a conventional user, but simply use the university as a
  181.     relay to the rest of the world.  All I actually have to do is carry
  182.     out the steps numbered below.  They in their turn carry out a series
  183.     of tasks the details of which are beyond me, but they work.
  184.  
  185.     1    Open a CLI
  186.     2    Enter 'getvax' 
  187.     'Getvax' is a very short script (held in S:) which runs 'Dialup-server'
  188.     followed by 'StartNet'.
  189.  
  190.     'Dialup-server' runs 'dialup' and passes to it a long list of
  191.     pre-set arguments. The arguments have to be passed to dialup in a
  192.     single line, but here I display them in a column for ease of
  193.     reading :
  194.  
  195.          Dialup PASSWORD=<mypassword>
  196.                 LOGINNAME=jcollett   
  197.                 CONNECTSTRING=CONNECT?* 
  198.                 SANACONFIGFILE=slip0.config    
  199.                 LOGINPROMPT=Username:      
  200.                 SNDLOGINPROMPT="ciscots3>" 
  201.                 SNDLOGINNAME="slip jcollett" 
  202.                 SNDPASSWORDPROMPT=assword  (sic: something to do with avoiding
  203.                 SNDPASSWORD=<mypassword>         case conflicts : 'P' vs.'p'?)
  204.                 LOGINOK=SLIP 
  205.                 PHONENUMBER=8384059
  206.  
  207.     'Dialup' sets up a link to the University, without actually logging
  208.     me on to the VAX. The following is among the screened feedback :
  209.  
  210.                 ATH0
  211.                 OK
  212.                 ATZ1
  213.                 OK
  214.                 ATS0=0
  215.                 OK
  216.                 AT&D2
  217.                 OK
  218.                 login: jcollett
  219.                 Password:
  220.                 
  221.     Then 'Startnet' launches AmiTCP.
  222.     
  223.     The price paid for using only the demo version of AmiTCP is that you
  224.     have to wait a few seconds while some publicity material is
  225.     displayed, and then click on an Okay button.
  226.  
  227.         AmiTCP/IP version 4.0 demo
  228.         Copyright © 1994 AmiTCP/IP Group,
  229.             Network Solutions Development Inc., Finland.
  230.         Copyright © 1980--1991 
  231.            The Regents of the University of California.
  232.                     All rights reserved.
  233.         add host 130.217.99.16: gateway localhost     *
  234.         add net default: gateway 130.217.64.3         *
  235.     
  236.     * These numbers uniquely identify my slip account and the university.
  237.         
  238.      3   Now I can engage in any network activity which does
  239.     not demand fast ram, such as 'ncftp' (access to anything on aminet!), 
  240.     and 'gopher' (access to vast lists of interest groups and their
  241.     material).  When I get fast ram, I shall add AMosaic, Pine, and so
  242.     on to my activities list. 
  243.     
  244.      4   Enter 'hangup' when done.
  245.  
  246.  
  247.      A sample run with 'ncftp' 
  248.     
  249.     I use 'getvax' as described above, and enter 'ncftp'. The next command
  250.     is usually 'open'. The main aminet store at Washington University is
  251.     accessed via 'wustl.wuarchive.edu' and my next entry could therefore
  252.     be : open wustl.wuarchive.edu
  253.     But a log is kept of previously accessed addresses, and so I could
  254.     abbreviate that entry to just 'o wu', even 'o w'.  
  255.     
  256.     We are asked, when possible, to use mirror sites which are nearer,
  257.     and so I normally try to access 'livewire.com.au' which also holds
  258.     all the aminet stuff. All I have to enter is 'o live' (even 'o l').
  259.  
  260.     Here is a highly edited transcript of an 'ncftp' run which I have
  261.     just done, a few minutes ago.
  262.     
  263.     ncftp>o live
  264.       Guest login ok, send your complete e-mail address as password.
  265.       Welcome ftp@jcollett.slip.waikato.ac.nz to agnus.livewire.com.au!
  266.  
  267.       You are currently user 1 out of a maximum of 3 accessing this system.
  268.     
  269.     Sometimes I can't get on. Then I go to 'wustl'. They have a maximum
  270.     number of users in the hundreds, but even then, sometimes ... sigh ...
  271.  
  272.       FTP Administrator: ross@agnus.livewire.com.au
  273.  
  274.     A few lines indicating some 'rules of use', then ...
  275.  
  276.       Guest login ok, access restrictions apply.
  277.       Logged into livewire.com.au.
  278.     
  279.     It opens at whatever directory I was in last time I used it :
  280.     docs/misc - Various documents
  281.  
  282.     You can see that I was two directory levels down from the aminet
  283.     node at : livewire.com.au:/pub/aminet/docs/misc
  284.     
  285.     I enter 'cdup' twice to come back up to :
  286.       Welcome to the Aminet Amiga Archives - 
  287.     A few lines of welcome and general advice.
  288.  
  289.       livewire.com.au:/pub/aminet
  290.     
  291.     For an overview of the holdings, I can enter 'ls' (= list)
  292.     
  293.       CHARTS      README      biz/     docs/    ls-lR.gz   pix/
  294.       INDEX       RECENT      comm/    game/    misc/      priv/
  295.       INDEX.Z     RECENT.Z    demo/    gfx/     mods/      recent/
  296.       INDEX.zip   RECENT.zip  dev/     hard/    mus/       text/
  297.       MOTD        TREE        disk/    info/    new/       util/
  298.     
  299.     To some extent, I know my way around. I decide to go for 'util' and
  300.     then 'rexx'. I do it in one step, by entering 'util/rexx'.
  301.  
  302.       util/rexx - AREXX tools
  303.       livewire.com.au:/pub/aminet/util/rexx
  304.  
  305.     Let's see what's there : ls
  306.     
  307.       ADGLookUp.lha   InfraRexx1_7.lha       VerCtrl_1.16.lha
  308.       ADGLookUp.readme     InfraRexx1_7.readme    VerCtrl_1.16.readme
  309.     
  310.     And there were 68 more lines, at three entries per line, all of them 
  311.     rexx utils!  One of them, called 'InfoWin10' caught my eye. 
  312.     
  313.     Each entry has an '.lha' item, the whole program in compressed form,
  314.     and a '.readme' file. You can 'get' either or both.  Be careful, the
  315.     '.lha' files can be very large.  You can check their size by getting
  316.     a more complete 'dir' listing instead of the brief 'ls' list which I
  317.     used above. 
  318.     
  319.     I wanted to see what 'InfoWin10' is all about, so I entered
  320.     'get InfoWin10.readme'.
  321.  
  322.       InfoWin10.readme: ..........
  323.     (Each dot appears when 10% of the download has been done.)
  324.  
  325.       InfoWin10.readme: 
  326.       1928 bytes received in 3.97 seconds, 485.52 Bytes/sec.
  327.     
  328.     I have it!  To prove it, here is an extract from my CLI window :
  329.     
  330.       InfoWin10.readme            1928
  331.       1 file - 5 blocks used
  332.     
  333.     For the curious, the key line from that .readme file says :
  334.     
  335.       InfoWin is a simple little program to keep track of messages
  336.       sent to it via its ARexx port. 
  337.  
  338.     I enter 'bye' to leave ncftp, and 'hangup' to close the link.
  339.  
  340.     Note well the possibilities. In those few minutes I could have
  341.     downloaded complete copies of any one or more from a huge range of
  342.     freely available Amiga programs.  
  343.     
  344.     I can do it from home.  
  345.     That's why I wanted to link my home to the world. 
  346.     If and when I get my fast ram, it'll be even better .... 
  347.     I'll tell you about it.
  348.  
  349.     Hamilton, New Zealand   October, 1995
  350.     
  351.                        ===========================================
  352.  
  353.